package com.gxa.system_setting.mapper;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.gxa.common.entity.system_settings.HorsemanSalary;
import org.apache.ibatis.annotations.Param;
import org.springframework.stereotype.Repository;

import java.util.List;

@Repository
public interface HorsemanSalaryMapper {
    List<HorsemanSalary> selectHorsemanSalaryList(@Param("startPage") Integer startPage,@Param("pageSize") Integer pageSize);

    int updateHorsemanSalary(HorsemanSalary horsemanSalary);

    int stopOrUse(@Param("horseman_salary_id") Long horseman_salary_id,@Param("flag") Long flag);

    List<HorsemanSalary> queryHorseByScopeOrStatus(@Param("scope_application") String scope_application,@Param("status") Long status);

    int insertHorse(HorsemanSalary horsemanSalary);
}
